/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.entities;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Min Tun
 */
@XmlType(name="comment")
@XmlAccessorType(XmlAccessType.FIELD)
public class CommentType {
    @XmlElement(required=true)
    private int id;

    @XmlElement(required=true)
    private String content;

    @XmlElement(required=true)
    private String postID;

    @XmlElement(required=true, name="account")
    private String memberID;

    public CommentType() {
    }

    public String getContent() {
        return content;
    }

    public int getId() {
        return id;
    }

    public String getMemberID() {
        return memberID;
    }

    public String getPostID() {
        return postID;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setMemberID(String memberID) {
        this.memberID = memberID;
    }

    public void setPostID(String postID) {
        this.postID = postID;
    }

}
